package bojan.robots.motion;

import java.util.ArrayList;
import java.util.List;

import src.bojan.Navigator;
import src.bojan.TerrainMap;
import src.bojan.planning.Planner;

public class NavigationFactory {
	private static List<Navigation> agents = new ArrayList<Navigation>();

	public static List<Navigation> allAgents() {
		return agents;
	}

	public static Navigation create(Navigator robot, Planner planner, TerrainMap map) {
		Navigation navigation = new Navigation(robot, planner, map);
		agents .add(navigation);
		return navigation;
	}
}
